﻿Public Class printinvoice

    Private Sub printinvoice_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.ListView1.FullRowSelect = True
        Me.ListView1.GridLines = True
        Me.ListView1.Columns(0).Width = 50
        Me.ListView1.Columns(1).Width = 180
        Me.ListView1.Columns(2).Width = 100
        Me.ListView1.Columns(3).Width = 50
        'fore  cath values of listview

        txtinvoice.Text = Totalmoney.txtinvoice.Text
        txtcashier.Text = Main.Label1.Text
        txttime.Text = Totalmoney.txtsuccess.Text
        txttotal.Text = Totalmoney.txttotalmoney.Text
        txtdiscount.Text = Totalmoney.txtdiscon.Text
        txttotalamount.Text = Totalmoney.txtafterdiscon.Text
    End Sub

    Private Sub txtinvoice_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtinvoice.TextChanged

    End Sub
End Class